<template>
	<view class="forgetPassword">
		<view class="input-box">
			<view>
				<image src="/static/images/phone-icon.png" mode=""></image>
				<view>|</view>
			</view>
			<input type="number" class="phone-ipt" value="" placeholder="请输入手机号码" placeholder-style="color:#C0C0C0;font-size:28rpx;" />	
		</view>
		<view class="input-box">
			<view>
				<image src="/static/images/code.png" mode=""></image>
				<view>|</view>
			</view>
			<input type="number" class="phone-ipt phone-ipt-code" value="" placeholder="请输入验证码" placeholder-style="color:#C0C0C0;font-size:28rpx;" />	
			<view class="getMsgCode">获取验证码</view>
		</view>
		<view class="input-box">
			<view>
				<image src="/static/images/password.png" mode=""></image>
				<view>|</view>
			</view>
			<input type="password" class="phone-ipt" value="" placeholder="请输入至少6位的新密码" placeholder-style="color:#C0C0C0;font-size:28rpx;" />	
		</view>
		<view class="modify-sure" >确认修改</view>
	</view>
</template>

<script>
	export default {
		name: "auth",
		data() {
			return {
				type:0
			}
		},
		computed: {
			
		},
		methods: {
			
		},
		onReady() {
			if(this.type == 0){
				uni.setNavigationBarTitle({
					title:'忘记密码'
				})
			}else{
				uni.setNavigationBarTitle({
					title:'修改密码'
				})
			}
		},
		async onShow() {
			
		},
		async onLoad(options) {
			if(options.type){
				this.type = options.type
			}
		}
	}
</script>

<style scoped lang="scss">
	.forgetPassword{
		padding-top: 120rpx;
	}
	.input-box{
		width: 614rpx;
		height: 84rpx;
		margin: 0 auto 40rpx;
		background: #F5F5F5;
		border-radius: 42rpx;
		display: flex;
		align-items: center;
		>view{
			display: flex;
			align-items: center;
			height: 100%;
			color: #C0C0C0;
			>image{
				display: block;
				width: 56rpx;
				height: 56rpx;
				margin-left: 24rpx;
			}
		}
		.getMsgCode{
			font-size: 28rpx;
			font-weight: 400;
			color: #F02A28;
		}
	}
	.phone-ipt{
		margin-left: 24rpx;
		font-size: 28rpx;
		color: #555555;
		width:420rpx;
	}
	.phone-ipt-code{
		width:300rpx;
	}
	.modify-sure{
		width: 614rpx;
		height: 84rpx;
		background: linear-gradient(90deg, #FFE066 0%, #FEBD01 100%);
		border-radius: 42rpx;
		display:flex;
		align-items: center;
		justify-content: center;
		font-size: 32rpx;
		font-weight: 500;
		color: #FFFFFF;
		letter-spacing: 2rpx;
		margin: 100rpx auto 0;
	}
</style>
